package com.hmdp.config.RabbitMQ.constant;

public class MqConst {
    /**
     * 消息补偿
     */
    public static final String MQ_KEY_PREFIX = "ssyx.mq:list";
    public static final int RETRY_COUNT = 3;

    /**
     * 商品上下架
     */
    public static final String EXCHANGE_GOODS_DIRECT = "ssyx.goods.direct";
    public static final String ROUTING_GOODS_UPPER = "ssyx.goods.upper";
    public static final String ROUTING_GOODS_LOWER = "ssyx.goods.lower";
    //队列
    public static final String QUEUE_GOODS_UPPER = "ssyx.goods.upper";
    public static final String QUEUE_GOODS_LOWER = "ssyx.goods.lower";



    /*
     * 订单推送。
     */
    public static final String EXCHANGE_ORDER_DIRECT = "hmdp:order:direct";
    public static final String ROUTING_ORDER_KEY = "hmdp:order:task";
    public static final String QUEUE_ORDER_KEY = "hmdp:order:task";


}